*{
    padding:0;
    margin:0;
    box-sizing:border-box;
}
a{
    text-decoration:none;
    font-size:12px;
    color:#666;
    }
ul,li{
    list-style:none;
    }
.container{
    width:502px;
    margin:50px auto;
    border:1px solid #ccc;
    }
.tabs .tabs-nav {
    position:relative;
    height:30px;
    background-color:#f9f9f9;
    }	
.tabs .tabs-nav ul{
    position:absolute;
    width:100%;
    height:30px;
    z-index:99;
    overflow:hidden;
    }	
.tabs .tabs-nav li{
    float:left;
    width:100px;
    text-align:center;
    line-height:30px;
    /* background-color:#f1f1f1; */
    cursor:pointer;
    }	
    
 .tabs .tabs-content{
    width: 500px;
    height: 300px;
 }   	
.tabs .tabs-content .item{
    width:500px;
    height:300px;
    /* display:none; */
    text-align:center;
    line-height:300px;
    font-size:30px;
    background-color:#f9f9f9;
    color:#ccc;
    }
.tabs .tabs-content .item.open{
    display:block;
    }
.tabs-way{
    position:relative;
    height:3px;
    width:100%;
    background-color:#ddd;
    }
.tabs-way .train{
    position:absolute;
    width:100px;
    height:3px;
    background-color:red;
    left:0px;
    transition: all 0.4s;
    }

.nav-way{
    position:absolute;
    width:100%;
    height:30px;
    }
.nav-way .train{
    position:absolute;
    left:0;
    width:100px;
    height:30px;
    background-color:#f1f1f1;
    transition: all 0.4s;
    }			